package cn.fanqinghong;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
 * FAN
 * 2022/6/1  10:50
 */
@SpringBootApplication
@MapperScan("cn.fanqinghong.*.mapper")
//扫描加载权限的Listener
@ServletComponentScan(value = "cn.fanqinghong.*.listener")
public class PetHomeApp {

    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class);
    }
}
